home *** CD-ROM | disk | FTP | other *** search
- // callvote options script
- //-------------------------
- // This is a server-side file that is used to specify what things can be voted for,
- // and what the valid voting options for them are. The options clients are allowed
- // to do a callvote on are determined by the settings in this file on the server.
-
- // the format is as follows:
- // "Option Name" "Command" <Type>
- // {
- // "Choice Name 1" "VoteString1"
- // "Choice Name 2" "VoteString2"
- // ...
- // }
-
- // "Option Name" is the name that will be displayed for that voting option.
- // Command is the command that a change will be voted for.
- // <Type> is an optional parameter specifying what kind of option it is
- // Valid option types are:
- // - "nochoices" : Provides no additional choices are info entry, it just is. (default)
- // - "list" : Provides a list of choices for the option
- // - "text" : Pops up a text entry window for the option
- // - "integer" : Pops up an integer number entry window for the option
- // - "float" : Pops up a floating point number entry window for the option
- // - "client" : Pops up a list of players in the game for the option
- // - "clientnotself" : Pops up a list of other players in the game for the option
- // { and } specify the begining and end of a list of choices for a voting
- // option. No list should be specified for any type besides list.
-
-
- "Free-For-All Map" "g_gametype" list
- {
- "Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
- "Druckkammern - obj/MP_Druckkammern_TOW" "1;map obj/MP_Druckkammern_TOW"
- }
-
- "Team-Match Map" "g_gametype" list
- {
- "Malta - dm/MP_Malta_DM" "2; map dm/MP_Malta_DM"
- "Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
- }
-
- "Round-Based-Match Map" "g_gametype" list
- {
- "Malta - dm/MP_Malta_DM" "3; map dm/MP_Malta_DM"
- "Druckkammern - obj/MP_Druckkammern_TOW" "3;map obj/MP_Druckkammern_TOW"
- }
-
-
- // Loads an objective map and makes sure the game is in objective mode
- "Tug-of-War Map" "g_gametype" list
- {
- "Druckkammern - obj/MP_Druckkammern_TOW" "5;map obj/MP_Druckkammern_TOW"
- }
-
- //"Next Map" "nextmap" nochoices
-
- //"Disallow Weapon" "" list
- //{
- // "Rifle" "g_weapon_rifle 0"
- // "Sniper Rifle" "g_weapon_sniper 0"
- // "Submachinegun" "g_weapon_smg 0"
- // "Machinegun" "g_weapon_mg 0"
- // "Rocket Launcher" "g_weapon_rocket 0"
- // "Shotgun" "g_weapon_shotgun 0"
- //}
-
- //"Allow Weapon" "" list
- //{
- // "Rifle" "g_weapon_rifle 1"
- // "Sniper Rifle" "g_weapon_sniper 1"
- // "Submachinegun" "g_weapon_smg 1"
- // "Machinegun" "g_weapon_mg 1"
- // "Rocket Launcher" "g_weapon_rocket 1"
- // "Shotgun" "g_weapon_shotgun 1"
- //}
-
- //"Only One Weapon" "" list
- //{
- // "Rifle" "g_weapon_rifle 1;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
- // "Sniper Rifle" "g_weapon_rifle 0;g_weapon_sniper 1;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
- // "Submachinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 1;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
- // "Machinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 1;g_weapon_rocket 0;g_weapon_shotgun 0"
- // "Rocket Launcher" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 1;g_weapon_shotgun 0"
- // "Shotgun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 1"
- //}
-
- //"Allow All Weapons" "g_weapon_rifle 1;g_weapon_sniper 1;g_weapon_smg 1;g_weapon_mg 1;g_weapon_rocket 1;g_weapon_shotgun 1" nochoices
-
- "Health Drop" "set" list
- {
- "On" "g_healthdrop 1"
- "Off" "g_healthdrop 0"
- }
-
- "Realistic Mode" "set" list
- {
- "On" "g_realismmode 1;reloadmap"
- "Off" "g_realismmode 0;reloadmap"
- }
-
- "Friendly Fire" "set" list
- {
- "On" "g_teamdamage 1"
- "Off" "g_teamdamage 0"
- }
-
- "Score Limit" "fraglimit" integer
-
- "Time Limit" "timelimit" integer
-
- "Allow Spectator Chat To All" "set" list
- {
- "On" "g_spectate_allow_full_chat 1"
- "Off" "g_spectate_allow_full_chat 0"
- }
-
- "Kick Client" "clientkick" clientnotself
-
- "Heal Rate" "set" list
- {
- "Instant" "g_healrate 0"
- "5 per Second" "g_healrate 5"
- "10 per Second" "g_healrate 10"
- "20 per Second" "g_healrate 20"
- }
-
- "Team Spawn Delay" "set" list
- {
- "0 Seconds" "sv_team_spawn_interval 0"
- "5 Seconds" "sv_team_spawn_interval 5"
- "10 Seconds" "sv_team_spawn_interval 10"
- "15 Seconds" "sv_team_spawn_interval 15"
- "20 Seconds" "sv_team_spawn_interval 20"
- "25 Seconds" "sv_team_spawn_interval 25"
- "30 Seconds" "sv_team_spawn_interval 30"
- "45 Seconds" "sv_team_spawn_interval 45"
- "60 Seconds" "sv_team_spawn_interval 60"
- }
-